package com.elitesland.b2c.tms.vo.save;

import com.elitesland.b2c.tms.vo.com.TmsFareAreaComVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * .
 *
 * @author Kaiser（wang shao）
 * @date 2021-02-07
 */
@ApiModel(description = "运费模板保存对象")
@Data
public class TmsFareTmplSaveVO implements Serializable {
    private static final long serialVersionUID = -8698397084352858208L;

    @ApiModelProperty(value = "模板名称", required = true)
    private String name;

    @ApiModelProperty(value = "费用计算方式 UDC[TMS:FARE_CALC_METHOD] （WEIGHT：按重量，NUM：按数量）", required = true, allowableValues = "WEIGHT, NUM")
    private String calcMethod;

    @ApiModelProperty(value = "首重(Kg)/首件", required = true)
    private BigDecimal weightStart;

    @ApiModelProperty(value = "首费(元)", required = true)
    private BigDecimal costStart;

    @ApiModelProperty(value = "续重(Kg)/续件", required = true)
    private BigDecimal weightIncrease;

    @ApiModelProperty(value = "续费(元)", required = true)
    private BigDecimal costIncrease;

    @ApiModelProperty(value = "目的地", required = true)
    private List<TmsFareAreaComVO> area;
}
